
{extend name='main'}



{block name="content"}
<div class="layui-card padding-20 shadow layui-card-body" >
    {include file='order/index_search'}
    <table class="layui-table margin-top-10" >
        {notempty name='list'}
        <thead>
        <tr>
            <th class='text-center nowrap'>序号</th>
            <th class='text-center nowrap'>服务日期</th>
            <th class='text-center nowrap'>所属群号</th>
            <th class='text-center nowrap'>客户名称</th>
            <th class='text-center nowrap'>昵称</th>
            <th class='text-center nowrap'>陪玩项目/送礼</th>
            <th class='text-center nowrap'>陪玩时长（h）</th>
            <th class='text-center nowrap'>单量</th>
            <th class='text-center nowrap'>电源</th>
            <th class='text-center nowrap'>接待</th>
            <th class='text-center nowrap'>收款</th>
            <th class='text-center nowrap'>营业金额</th>
            <th class='text-center nowrap'>收款方式</th>
            <th class='text-center'>营业外收入</th>
            <th class='text-center'>营业外支出</th>
            <th class='text-center'>退单应收鸽子费</th>
            <th class='text-center nowrap'>预存金额</th>
            <th class='text-center nowrap'>备注</th>
            <th class='text-center nowrap'>订单状态</th>
            <th class="text-center nowrap">操作</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key => $vo}
        <tr>
            <td class='text-center'>{$vo.sort}</td>
            <td class='text-center'>{$vo.date|default='-'}</td>
            <td class="text-center">{$vo.group_number|default='-'}</td>
            <td class="text-center">{$vo.customer_name|default='-'}</td>
            <td class="text-center">{$vo.nickname|default='-'}</td>
            <td class="text-center">{$vo.activity_gift|default='-'}</td>
            <td class='text-center'>{$vo.play_duration_h}</td>
            <td class='text-center'>{$vo.order_quantity|default='-'}</td>
            <td class="text-center">{$vo.power_source|default='-'}</td>
            <td class="text-center">{$vo.receptionist|default='-'}</td>
            <td class="text-center">{$vo.collector|default='-'}</td>
            <td class="text-center">{$vo.business_amount|default='-'}</td>
            <td class="text-center">{$vo.payment_method|default='-'}</td>


            <td class="text-center">{$vo.non_business_income|default='-'}</td>
            <td class="text-center">{$vo.non_business_expense|default='-'}</td>
            <td class="text-center">{$vo.refund_dove_fee|default='-'}</td>
            <td class="text-center">{$vo.prepaid_amount|default='-'}</td>
            <td class="text-center">{$vo.remarks|default='-'}</td>
            <td class="text-center">
                {if $vo.status==1}
                <span class="layui-btn layui-btn-xs">正常</span>
                {else}
                <span class="layui-btn layui-btn-xs layui-btn-normal">退单</span><br>
                <span>{$vo.back_remark}</span>
                {/if}
            </td>
            <td class='text-center nowrap'>
                <!--{if auth("edit")}-->
                <a class="layui-btn layui-btn-sm layui-btn-warm" data-event-dbclick data-title="{:lang('编辑')}" data-modal='{:url("edit")}?id={$vo.id}'>{:lang('编 辑')}</a>
                <a class="layui-btn layui-btn-sm layui-btn-danger" data-event-dbclick data-title="{:lang('退单')}" data-modal='{:url("backOrder")}?id={$vo.id}'>{:lang('退 单')}</a>
                <!--{/if}-->
                <!--{if auth("remove")}-->
<!--                <a class="layui-btn layui-btn-sm layui-btn-danger" data-confirm="{:lang('确定要删除吗？')}" data-action="{:url('remove')}" data-value="id#{$vo.id}">{:lang('删 除')}</a>-->
                <!--{/if}-->
            </td>
        </tr>
        {/foreach}
        </tbody>
    </table>

    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}

</div>
{/block}
